home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
docs
/
lists
/
NAM1297.lha
/
NAM1297
/
LON.LHA
/
LON.readme
next >
Wrap
Text File
|
1996-01-26
|
6KB
|
171 lines
LON 1.9
(c) 26-Jan 1996 Jostein Trondal
Freeware
Description
Reads either an NComm.log or the NComm.phone-file and gives a list about
when you were last on every system listed in the file (similar to the list
in Logreader by NHS). The output can be configured different ways. It was
made mainly because Logreader didn't have a save option for the 'Last on'
function and because it would be a helpful tool for supporters of the
NAM-BBS list maintained by Troels Walsted Hansen.
Just recently, I discovered that the log-file Term produces is identical
to the NComm-format, thus making this program work with those logs also.
Just write -l<termpath/termlogfile> to make it work.
Disclamier
USE AT OWN RISK
THE AUTHOR IS NOT RESPONSIBLE FOR ANY
POSSIBLE DAMAGE THIS PROGRAM MAY CAUSE
Requirements
- ARexx
- NComm.log, NComm.phone or a Term log-file.
Template
<P=Phone|[L=Log|-L<LogFile>]> [-T=ThisMonth] [-O=OnlyDots]
[U=UpSort|D=DownSort|A=AlphaSort] [-F<OutputFile>]
[-Wnn=NameWidth] [-N=NoTime]
Parameters in <> are compulsory, and in [] and between |'s optional
Parameters
P=Phone Reads the NComm:NComm.phone file if it exists, and uses
it as basis for output. To get this parameter to work
properly, you have to have the 'Log Phone Info' menu-
selection in NComm active when you call.
L=Log Reads the NComm:NComm.log file if it exists, and uses ut
as basis for output. To get this parameter to work
properly, you have to have the 'Log Calls' menu-
selection in NComm active when you call.
-L<LogFile> Reads the log-file specified by user. You can specify
either an NComm-logfile or a Term-logfile. The files are
of identical type.
-T=ThisMonth When this options is entered, only systems that has been
visited in the current month is included in the output.
-O=OnlyDots When this option is entered, only systems that contains
a '.' as the first character in the comment field of the
phonebook-entry will be included in the output. This way
you can filter out the systems you don't want in the
output. When the L option is used, this option will be
ignored.
U=UpSort Sorts the output upwards by date.
D=DownSort Sorts the output downwards by date.
A=AlphaSort Sorts the output alphabetically by system-name. 'The'-
substring will be ignored in this mode.
-F<OutPutFile> Option for file-redirection.
-Wnn=NameWidth nn = number from 20 to 40; indicates width of the system
name in the output.
-N=NoTime Removes hh:mm:ss from output.
The parameters can be entered in any order.
Example
To make an alphabetically sorted list of BBS'es you have visited the
current month, including only date (not time), and using the NComm-phone-
book as input, write:
Rx lon p -t -n a
This should produce an output similar to this:
ABBS Support BBS 25.01.1996 22298897
Atlantis BBS 13.01.1996 32825330
Cash'n'Carry 25.01.1996 63909461
Crusaders MBBS 25.01.1996 22104646|22100893
Firda BBS 13.01.1996 57865435|57866564
HiA's BBS 14.01.1996 37253189
InfoLink BBS 13.01.1996 22571604|22571600
Mike's BBS 13.01.1996 22416588
Mordor 22.01.1996 57787379
Premiere Data Team 23.01.1996 69318244|69318299
Programmers BBS 13.01.1996 22714107|22714401
Slektsforum BBS 07.01.1996 35990991
Ultima Thule 24.01.1996 77613205|77639830
^System name ^Date ^Phone-number(s)
Bugs
Since the date-calculation of leap years isn't correct in Amigas made by
Commodore, there will occur an error when using this program in the year
2000 on those machines if you not manually change Feb 29th 2000 to Mar
1st. [:-)]
If you encounter more bugs, please report them to the author.
History (sigh)
- 1.9 : Fixed Alpha-sort bug; now sorts big/small characters correct.
- 1.8 : Added -Wnn and -N options and phonenumber in output.
- 1.7 : Fixed log-file bug. Optimized code.
- 1.6 : Now ignores 'The'-substring in Alphasort.
- 1.5 : Fixed many subtle bugs in logreader and phonebookreader.
Added -L<LogFile> option.
- 1.4 : Now reads a larger amount of Phone.log files that has been
corrupted by NComm itself.
- 1.3 : Fixed: If the day of the date was 1..6, it became 2..7
Changed sorting algorithm (~2.5 times faster)
Changed sortmode to options
Didn't bother to include the short-version any longer..
- 1.2 : Fixed: If a name had more than 21 chars, the program failed
- 1.1 : Fixed a bug that caused the date to be wrong when reading the
NComm.phone-file
Some optimization
Added the s-version in the archive
Renamed program from LastOn to LON
- 1.0 : More comments in program
Improved speed in NComm.phone read (~90% faster)
Added output-to-file option
Added only-output-entrys-with-'.'-in-comment-option
Added only-output-entrys-from-this-month-option
Better program-structure
- 0.4ß : Fixed a small sort-bug
Added 'NComm.phone' read as option
Added up/downwards-date and alphabetical sort as options
- 0.3ß : Converted the whole program from Pascal to ARexx
Some error-checking added
- 0.2ß : Fixed a bug; When there was only a number in the
log-file, and not a system-name and a number, the program lost
control
- 0.1ß : First release
Thanks to
Espen Verket and Troels Walsted Hansen for bugreports, comments and
suggestions.
How to contact the author
- SMail: Jostein Trondal, Klinkeleveien 9, 4815 Saltrød, NORWAY
- BBS: Bitflow ABBS +47 37031499 (I'm the SysOp)